package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 礼品对象 t_sys_gifts
 * 
 * @author ruoyi
 * @date 2021-01-14
 */
public class TSysGifts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 礼品 */
    @ApiModelProperty(value = "礼品")
    private Long giftId;

    /** 礼品名称 */
    @ApiModelProperty(value = "礼品名称")
    private String giftName;

    /** 价格 */
    @ApiModelProperty(value = "价格")
    private Integer price;

    private String picPath;

    public Integer getPrice() {
        return price;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    /** 库存数量 */
    @ApiModelProperty(value = "库存数量")
    private Long inventory;

    public void setGiftId(Long giftId) {
        this.giftId = giftId;
    }

    public Long getGiftId() {
        return giftId;
    }
    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public String getGiftName() {
        return giftName;
    }
    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public Long getInventory() {
        return inventory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("giftId", getGiftId())
            .append("giftName", getGiftName())
            .append("price", getPrice())
            .append("inventory", getInventory())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
